package epam.com.rd.MyCollections;

import java.util.Iterator;

public interface MyList extends Iterable<Object> {
	void add(Object e);
	void add(int index, Object e);
	void addAll(Object[] c); //*****
	void addAll(int index, Object[] c); //*****
	Object get(int index);  //*****
	Object remove(int index);
	void clear();
	boolean isEmpty(); //*****
	void set(int index, Object e);
	int indexOf(Object o);
	int size();
	Object[] toArray(); //*****
	Iterator<Object> iterator(); 
	
}
